﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<!-- saved from url=(0029)http://www.helpandmanual.com/ -->
<head><script type="text/javascript" src="helpman_topicinit.js"></script>
<!-- Redirect browser to frame page if page is not in the content frame. -->
<script type="text/javascript">
<!--
if(top.frames.length==0) { top.location.href="index.html?sagalogin.htm"; }
else { parent.quicksync('a2.1.1'); }
//-->
</script>
<script type="text/javascript" src="highlight.js"></script>
   <title>SagaLogin</title>
   <meta name="generator" content="Help &amp; Manual" />
   <meta name="keywords" content="Login,Configuration" />
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
   <meta http-equiv="Content-Style-Type" content="text/css" />
   <link type="text/css" href="default.css" rel="stylesheet" />
</head>
<body style="margin: 0px 0px 0px 0px; background: #FFFFFF;" onload="highlight();">
<div id="hmpopupDiv" style="visibility:hidden; position:absolute; z-index:1000; "></div>


<table width="100%" border="0" cellspacing="0" cellpadding="5" bgcolor="#649CCC">
  <tr valign="middle">
    <td align="left">
      <p class="p_Heading1"><span class="f_Heading1">SagaLogin</span></p>

    </td>
    <td align="right">
     <span style="font-size: 9pt">
     <a href="introduction.htm">Top</a>&nbsp;
     <a href="sub_chapter_2_1.htm">Previous</a>&nbsp;
     <a href="sagamap.htm">Next</a>
     </span>
    </td>
  </tr>
</table>


<!-- Placeholder for topic body. -->
<table width="100%" border="0" cellspacing="0" cellpadding="5"><tr valign="top"><td align="left">
<p>Contents of login.config:</p>
<p>&nbsp;</p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&lt;?</span><span style="font-size: 9pt; font-family: '新宋体'; color: #800000;">xml</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;"> </span><span style="font-size: 9pt; font-family: '新宋体'; color: #ff0000;">version</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">=</span><span style="font-size: 9pt; font-family: '新宋体'; color: #000000;">&quot;</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">1.0</span><span style="font-size: 9pt; font-family: '新宋体'; color: #000000;">&quot;</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">?&gt;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&lt;</span><span style="font-size: 9pt; font-family: '新宋体'; color: #800000;">SagaLogin</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&gt;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">  &lt;</span><span style="font-size: 9pt; font-family: '新宋体'; color: #800000;">host</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&gt;</span><span style="font-size: 9pt; font-family: '新宋体'; color: #000000;">127.0.0.1</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&lt;/</span><span style="font-size: 9pt; font-family: '新宋体'; color: #800000;">host</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&gt;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&nbsp;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">  &lt;!--</span><span style="font-size: 9pt; font-family: '新宋体'; color: #008000;"> address of SQL/db4o server or Path to Save for dat implementation</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">--&gt;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">  &lt;</span><span style="font-size: 9pt; font-family: '新宋体'; color: #800000;">dbhost</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&gt;</span><span style="font-size: 9pt; font-family: '新宋体'; color: #000000;">127.0.0.1</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&lt;/</span><span style="font-size: 9pt; font-family: '新宋体'; color: #800000;">dbhost</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&gt;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&nbsp;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">  &lt;!--</span><span style="font-size: 9pt; font-family: '新宋体'; color: #008000;"> database name for SQL </span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">--&gt;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">  &lt;</span><span style="font-size: 9pt; font-family: '新宋体'; color: #800000;">dbname</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&gt;</span><span style="font-size: 9pt; font-family: '新宋体'; color: #000000;">sagalogin</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&lt;/</span><span style="font-size: 9pt; font-family: '新宋体'; color: #800000;">dbname</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&gt;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&nbsp;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">  &lt;!--</span><span style="font-size: 9pt; font-family: '新宋体'; color: #008000;"> port for databaser server(SQL or db4o) </span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">--&gt;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">  &lt;</span><span style="font-size: 9pt; font-family: '新宋体'; color: #800000;">dbport</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&gt;</span><span style="font-size: 9pt; font-family: '新宋体'; color: #000000;">8000</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&lt;/</span><span style="font-size: 9pt; font-family: '新宋体'; color: #800000;">dbport</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&gt;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&nbsp;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">  &lt;!--</span><span style="font-size: 9pt; font-family: '新宋体'; color: #008000;"> </span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #008000;">  Database mode,</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #008000;">  0:db4o </span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #008000;">  1:MySQL </span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #008000;">  2:Dat</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #008000;">  3:MSSQL</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #008000;"> &nbsp; </span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">--&gt;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">  &lt;</span><span style="font-size: 9pt; font-family: '新宋体'; color: #800000;">ifSQL</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&gt;</span><span style="font-size: 9pt; font-family: '新宋体'; color: #000000;">2</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&lt;/</span><span style="font-size: 9pt; font-family: '新宋体'; color: #800000;">ifSQL</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&gt;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&nbsp;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">  &lt;</span><span style="font-size: 9pt; font-family: '新宋体'; color: #800000;">dbuser</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&gt;</span><span style="font-size: 9pt; font-family: '新宋体'; color: #000000;">saga</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&lt;/</span><span style="font-size: 9pt; font-family: '新宋体'; color: #800000;">dbuser</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&gt;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">  &lt;</span><span style="font-size: 9pt; font-family: '新宋体'; color: #800000;">dbpass</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&gt;</span><span style="font-size: 9pt; font-family: '新宋体'; color: #000000;">saga</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&lt;/</span><span style="font-size: 9pt; font-family: '新宋体'; color: #800000;">dbpass</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&gt;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&nbsp;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">  &lt;!--</span><span style="font-size: 9pt; font-family: '新宋体'; color: #008000;"> port for login server </span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">--&gt;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">  &lt;</span><span style="font-size: 9pt; font-family: '新宋体'; color: #800000;">port</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&gt;</span><span style="font-size: 9pt; font-family: '新宋体'; color: #000000;">6000</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&lt;/</span><span style="font-size: 9pt; font-family: '新宋体'; color: #800000;">port</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&gt;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&nbsp;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">  &lt;!--</span><span style="font-size: 9pt; font-family: '新宋体'; color: #008000;"> if no db4oserver then use this file to store inforamtions,db4o mode only </span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">--&gt;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">  &lt;</span><span style="font-size: 9pt; font-family: '新宋体'; color: #800000;">userdbfile</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&gt;</span><span style="font-size: 9pt; font-family: '新宋体'; color: #000000;">char.db</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&lt;/</span><span style="font-size: 9pt; font-family: '新宋体'; color: #800000;">userdbfile</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&gt;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">  &lt;</span><span style="font-size: 9pt; font-family: '新宋体'; color: #800000;">chardbfile</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&gt;</span><span style="font-size: 9pt; font-family: '新宋体'; color: #000000;">char.db</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&lt;/</span><span style="font-size: 9pt; font-family: '新宋体'; color: #800000;">chardbfile</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&gt;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&nbsp;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">  &lt;</span><span style="font-size: 9pt; font-family: '新宋体'; color: #800000;">mapserverpass</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&gt;</span><span style="font-size: 9pt; font-family: '新宋体'; color: #000000;">secret</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&lt;/</span><span style="font-size: 9pt; font-family: '新宋体'; color: #800000;">mapserverpass</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&gt;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&lt;/</span><span style="font-size: 9pt; font-family: '新宋体'; color: #800000;">SagaLogin</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&gt;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&nbsp;</span></p>
<p>host: IP Address of login server</p>
<p>port: Port of login server</p>
<p>dbhost: IP Address for MySQL/db4o server</p>
<p>  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;or Path of saving for dat DB mode(example: ".\" or "c:\save\".)</p>
<p>dbname: Database name in MySQL database</p>
<p>dbport Port for MySQL/db4o server. &nbsp;Only valid for MySQL or DB4O mode</p>
<p>&nbsp;</p>
<p>ifSQL: this field is a little bit confusing, this is actually DB Mode, it has 3 options</p>
<p>  &nbsp; &nbsp; &nbsp; &nbsp; 0: DB4O - not supported in current version of Saga</p>
<p>  &nbsp; &nbsp; &nbsp; &nbsp; 1: MySQL </p>
<p>  &nbsp; &nbsp; &nbsp; &nbsp; 2: Dat &nbsp;- A file based saving solution, it's the simplest to use.</p>
<p>&nbsp;</p>
<p>dbuser: User for DB server. Only valid for MySQL or DB4O mode</p>
<p>dbpass: Password for DB server. &nbsp;Only valid for MySQL or DB4O mode</p>
<p>&nbsp;</p>
<p>userdbfile: If there is no DB server set, use this file to save data. &nbsp;Only valid for DB4O mode</p>
<p>chardbfile: If there is no DB server set, use this file to save data. &nbsp;Only valid for DB4O mode</p>
<p>&nbsp;</p>
<p>mapserverpass: Password for mapserver to login</p>

</td></tr></table>

</body>
</html>
